package com.freemalll.merchant.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.freemalll.merchant.domain.dto.merchantReport.MerchantReportPageDto;
import com.freemalll.merchant.domain.vo.merchantReport.MerchantReportPageVo;
import com.freemalll.merchant.domain.vo.merchantReport.MerchantReportVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface MerchantReportMapper {


    /**
     * 分页
     *
     * @param page
     * @param dto
     * @return
     */
    Page<MerchantReportPageVo> page(Page page, @Param("dto") MerchantReportPageDto dto);

    /**
     * 根据商户id查询商户基础信息
     *
     * @param merId
     * @return
     */
    MerchantReportVo selectByMerId(@Param("merId") String merId);
}
